package ${package_name}.dao;

import ${package_name}.model.${table_name};
import java.util.List;
import ${package_name}.entity.${table_name};
import ${package_name}.page.${table_name}Page;

/**
* 描述：${table_annotation}Dao
* @author ${author}
* @date ${date}
*/
public interface ${table_name}Dao {
	
	public int queryByCount(${table_name}Page page)throws Exception;
	
	public List<${table_name}> queryByParams(${table_name}Page page)throws Exception;
	
	public ${table_name} query${table_name}ById(String id)throws Exception;
	
	public void save${table_name}(${table_name} ${table_name})throws Exception;
	
	public void updateById(${table_name} ${table_name})throws Exception;
	
	public void deleteById(String id) throws Exception;
	
}
